<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>积分和经验设置</title>
<link href="/theme/admin/style/admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/theme/admin/js/jquery.min.js"></script>
<script type="text/javascript">
$(function(){
	$(".notewarn").fadeIn();
	$(".notewarn .close a").click(function(){
		$(".notewarn").fadeOut();
	});
});
</script>
</head>

<body>

<div class="gray_header"> <span class="title">积分设置</span> <span class="reload"><a href="javascript:location.reload();">刷新</a></span> </div>
<div class="notewarn"> <span class="close"><a href="javascript:;"></a></span>
		<div>您可以设置系统运作时的积分管理，如新用户注册获得积分，下载文件扣除积分等。</div>
</div>
<form name="form" id="form" method="post" action="admin_save.php" onsubmit="return cfm_admin();">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form_table">
		<tr>
			<td width="34%" height="35" align="left">自定义积分名称：<br />
            <span class="cnote">您可以自定义积分的名称</span></td>
			<td width="66%">积分名称 <input type="text" id="cu" name="setting[credit_union]" value="积分" size="5" maxlength="10" /> ， 

	经验名称 <input type="text" id="eu" name="setting[exp_union]" value="经验" size="5" maxlength="10" /></td>
	  </tr>
		<tr>
			<td height="35">经验成长值:<Br /><span class="cnote">
  计算公式为： n*x ， n是用户的等级，x是经验成长值。如第一级 x,第二级2x，如此类推。 默认是50</span></td>
		  <td><input type="text" name="setting[exp_const]" value="50" size="5" maxlength="6" /></td>
		</tr>
		<tr>
			<td height="35" colspan="2">&nbsp;</td>
		</tr>
		<tr>
			<td colspan="2" align="right"><table align="center" width="100%" cellpadding="4" cellspacing="0" border="0" class="td_line">
<tr>
	<td colspan="7"><span class="bold">积分规则设定:</span><span class="txtgray">(提示：填入数字即可，数值大小为 0-99)</span></td>
</tr>
<tr>
	<td width="50">项目</td>
	<td width="100" align="center">激活</td>
	<td width="100" align="center">登录</td>

	
	<td width="100" align="center">上传文件</td>
	<td width="100" align="center">下载文件[下载者]</td>
	<td width="100" align="center">下载文件[上传者]</td>
</tr>
<tr>
	<td class="bold">积分</td>
	<td align="center">(+)<input type="text" name="setting[credit_reg]" value="10" size="1" maxlength="2" style="text-align:center"/></td>
	<td align="center">(+)<input type="text" name="setting[credit_login]" value="2" size="1" maxlength="2" style="text-align:center"/></td>


	<td align="center">(+)<input type="text" name="setting[credit_upload]" value="3" size="1" maxlength="2" style="text-align:center"/></td>
	<td align="center">(-)<input type="text" name="setting[credit_down]" value="2" size="1" maxlength="2" style="text-align:center"/></td>
	<td align="center">(+)<input type="text" name="setting[credit_down_my]" value="1" size="1" maxlength="2" style="text-align:center"/></td>
</tr>

<tr>
	<td class="bold">经验</td>
	<td align="center">(+)<input type="text" name="setting[exp_reg]" value="20" size="1" maxlength="2" style="text-align:center"/></td>
	<td align="center">(+)<input type="text" name="setting[exp_login]" value="2" size="1" maxlength="2" style="text-align:center"/></td>


	<td align="center">(+)<input type="text" name="setting[exp_upload]" value="3" size="1" maxlength="2" style="text-align:center"/></td>
	<td align="center">(+)<input type="text" name="setting[exp_down]" value="2" size="1" maxlength="2" style="text-align:center"/></td>
	<td align="center">(+)<input type="text" name="setting[exp_down_my]" value="1" size="1" maxlength="2" style="text-align:center"/></td>
</tr>

</table></td>
		</tr>
	</table>
	<div class="subbtn_area">
		<input type="submit" value="" class="blue_submit_btn" />
		<input type="button" value="" class="blue_back_btn" onclick="history.go(-1)" />
  </div>
</form>
</body>
</html>
